#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <GLNew\glew.h>
#include <gl\glfw.h>
#include <iostream>

class TextureImage
{
public:
	TextureImage();

	bool loadBMP(const char* filepath);
	~TextureImage(void);
	
	//	Getter
	unsigned char * getData();
	unsigned int getDatapos();
	unsigned int getImageSize();
	unsigned int getWidth();
	unsigned int getHeight();
	GLuint getTexureID();

private:
	unsigned char * data;
	unsigned int imageSize;
	unsigned int width;
	unsigned int height;
	unsigned int dataPos;

	GLuint textureID;
};

